:root {
            --primary-color: #12B7F5;
            --sidebar-width: 80px;
            --chat-width: 350px;
            --toolbar-height: 60px;
            --nav-item-active: #1A1A1A;
            --nav-item-hover: #3A3A3A;
            --sidebar-bg: #2E2E2E;
            --contact-list-bg: #F5F5F5;
            --chat-bg: #FFFFFF;
            --message-received: #F1F1F1;
            --message-sent: #12B7F5;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }
        .dynamics_id{
        	position: absolute;
  			width: 1px;
 			height: 1px;
 			padding: 0;
 			margin: -1px;
 			overflow: hidden;
 			clip: rect(0, 0, 0, 0);
 			white-space: nowrap;
			border: 0;
        }
        body {
            font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
            height: 100vh;
            overflow: hidden;
            color: #333;
            background-color: var(--contact-list-bg);
        }
       
        #qq-app {
            display: flex;
            height: 100vh;
            width: 100vw;
            position: relative;
        }
        /* 聊天消息容器 */
		#chat-messages {
  			/* 固定高度，超出部分出现垂直滚动条 */
  			height: 600px; 
  			/* border: 1px solid; */
  			padding: 10px; /* 添加内边距 */
  			overflow-y: scroll; 
  			/* 可选：让滚动更顺滑（现代浏览器支持） */
  			scroll-behavior: smooth; 
		}
        .headimg{
			height: 40px;
			width: 40px;
			border-radius: 50%;    
        }
        /* 左侧导航栏 */
        #sidebar {
            width: var(--sidebar-width);
            background-color: var(--sidebar-bg);
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 20px;
            z-index: 10;
            box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        }
        
        .nav-item {
            width: 100%;
            text-align: center;
            padding: 18px 0;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            color: rgba(255, 255, 255, 0.7);
        }
        
        .nav-item:hover {
            background-color: var(--nav-item-hover);
            color: white;
        }
        
        .nav-item.active {
            background-color: var(--nav-item-active);
            color: white;
        }
        
        .nav-item.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 4px;
            background-color: var(--primary-color);
        }
        
        .nav-icon {
            font-size: 24px;
            margin-bottom: 5px;
        }
        
        .nav-text {
            font-size: 12px;
        }
        
        .avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            background-size: cover;
            background-position: center;
        }
        
        /* 主内容区 */
        #main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            position: relative;
        }
        
        /* 顶部工具栏 */
        #toolbar {
            height: var(--toolbar-height);
            background-color: white;
            display: flex;
            align-items: center;
            padding: 0 20px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            z-index: 5;
        }
        
        .logo {
            font-weight: bold;
            font-size: 20px;
            color: var(--primary-color);
        }
        
        #search-box {
            flex: 1;
            margin: 0 20px;
            position: relative;
        }
        
        #search-input {
            width: 100%;
            padding: 10px 15px 10px 40px;
            border-radius: 20px;
            border: 1px solid #e0e0e0;
            outline: none;
            font-size: 14px;
            transition: all 0.3s;
            background-color: #f5f5f5;
        }
        .comment-input{
        	width: 80%;
            padding: 10px 15px 10px 40px;
            border-radius: 20px;
            border: 1px solid #e0e0e0;
            outline: none;
            font-size: 14px;
            transition: all 0.3s;
            background-color: #f5f5f5;
        }
        #search-input:focus {
            background-color: white;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(18, 183, 245, 0.2);
        }
        
        .search-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
        }
        
        .tool-icon {
            font-size: 20px;
            margin-left: 20px;
            cursor: pointer;
            color: #666;
            position: relative;
        }
        
        .tool-icon:hover {
            color: var(--primary-color);
        }
        
        .badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background-color: #FF4D4F;
            color: white;
            border-radius: 50%;
            width: 16px;
            height: 16px;
            font-size: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        /* 内容区 */
        #content-area {
            flex: 1;
            display: flex;
            overflow: hidden;
            position: relative;
        }
        /* 消息通知样式 */
		#message-list {
		    height: calc(100vh - 120px);
		    overflow-y: auto;
		}
		
		.message-item {
		    position: relative;
		    padding: 10px;
		    border-bottom: 1px solid #eee;
		}
		
		.message-item:hover {
		    background-color: #f5f5f5;
		}
		
		.message-time {
		    font-size: 12px;
		    color: #999;
		    margin-top: 3px;
		}
		
		.message-item .badge {
		    position: absolute;
		    right: 15px;
		    top: 15px;
		    background: #f44336;
		    color: white;
		    border-radius: 50%;
		    width: 20px;
		    height: 20px;
		    text-align: center;
		    line-height: 20px;
		    font-size: 12px;
		}
        /* 联系人列表 */
        #contact-list {
            flex: 1;
            overflow-y: auto;
            background-color: var(--contact-list-bg);
            padding: 15px;
        }
        
        .contact-group {
            margin-bottom: 20px;
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        }
        
        .group-title {
            padding: 12px 15px;
            background-color: #f9f9f9;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid #eee;
        }
        
        .group-title i {
            transition: transform 0.3s;
            color: #999;
        }
        
        .group-title.collapsed i {
            transform: rotate(-90deg);
        }
        
        .group-content {
            max-height: 1000px;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .group-content.collapsed {
            max-height: 0;
        }
        
        .contact-item {
            padding: 12px 15px;
            display: flex;
            background-color:white;
            align-items: center;
            cursor: pointer;
            transition: background-color 0.2s;
            border-bottom: 1px solid #f5f5f5;
        }
        .contact-item:hover{
        	background-color:#333;
        }
        .newHaoYou:last-child {
            border-bottom: none;
        }
        .newHaoYou{
        	padding: 12px 15px;
            display: flex;
            background-color:white;
            align-items: center;
            cursor: pointer;
            transition: background-color 0.2s;
            border-bottom: 1px solid #f5f5f5;
        }
        .newHaoYou:hover{
        	background-color:#f5f5f5;
        }
        .selectUser-head{
        	width:90%;
        	position: absolute;
        	top:100%;
        	left:5%;
        	display: flex;
        	flex-direction: column;
        	border-radius: 0px 0px 20px 20px;
        	border:0.5px solid #f5f5f5;
        	box-shadow: 5px 5px 5px #f5f5f5,-5px 5px 5px #f5f5f5;
        }
        .friend-item{
        	text-indent:2em;
        	background-color: white;
        	padding: 8px;
        	border-bottom: 1px solid #e6f7ff; 
        }
        .addFriend{
        	float: right;
        	width: 10%;
        	height: 100%;
        	border-radius: 50px;
        	background-color:white;
        	color:#12b7f5;
        	border: 1px solid #f5f5f5;
        	box-shadow: 1px 1px 5px #f5f5f5,-1px -1px 5px #f5f5f5;
        	margin-right: 5%;
        }
        .friend-item:last-of-type{
        	border-radius: 0px 0px 20px 20px;
        }
        .contact-item:hover,.friend-item:hover {
            background-color: #f5f5f5;
        }
        
        .contact-item.active {
            background-color: #e6f7ff;
        }
        
        .contact-avatar {
            margin-right: 12px;
        }
        
        .contact-info {
            flex: 1;
        }
        
        .contact-name {
            font-weight: 500;
            margin-bottom: 3px;
        }
        
        .contact-lastmsg {
            font-size: 12px;
            color: #999;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .contact-meta {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
        }
        
        .contact-time {
            font-size: 11px;
            color: #999;
            margin-bottom: 5px;
        }
        
        .unread-count {
            background-color: #FF4D4F;
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 11px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        /* 聊天窗口 */
        #chat-container {
            width: 100%;
            background-color: var(--chat-bg);
            display: flex;
            flex-direction: column;
            border-left: 1px solid #e0e0e0;
            position: absolute;
            right: 0;
            top: 0;
            bottom: 0;
            transform: translateX(100%);
            transition: transform 0.3s ease;
            z-index: 8;
        }
        
        #chat-container.show {
            transform: translateX(0);
        }
        
        #chat-header {
            height: var(--toolbar-height);
            background-color: white;
            border-bottom: 1px solid #e0e0e0;
            display: flex;
            align-items: center;
            padding: 0 15px;
            justify-content: space-between;
        }
        
        .chat-title {
            font-weight: 500;
        }
        
        .chat-actions i {
            margin-left: 15px;
            color: #666;
            cursor: pointer;
        }
        
        .chat-actions i:hover {
            color: var(--primary-color);
        }
        
        #chat-messages {
            flex: 1;
            padding: 15px;
            overflow-y: auto;
            background-color: #f9f9f9;
            background-image: url('');
            background-repeat: repeat;
        }
        
        .message {
            margin-bottom: 15px;
            display: flex;
            position: relative;
        }
        
        .message.received {
            justify-content: flex-start;
        }
        
        .message.sent {
            justify-content: flex-end;
        }
        
        .message-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            font-weight: bold;
            background-size: cover;
            background-position: center;
            flex-shrink: 0;
        }
        
        .sent .message-avatar {
            display: none;
        }
        
        .message-content {
            max-width: 80%;
            min-width: 120px;
        }
        
        .message-name {
            font-size: 12px;
            color: #666;
            margin-bottom: 3px;
            padding-left: 10px;
        }
        
        .message-bubble {
            padding: 10px 15px;
            border-radius: 18px;
            position: relative;
            word-break: break-word;
            line-height: 1.5;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        }
        
        .received .message-bubble {
            background-color: var(--message-received);
            border-top-left-radius: 4px;
        }
        
        .sent .message-bubble {
            background-color: var(--message-sent);
            color: white;
            border-top-right-radius: 4px;
        }
        
        .message-time {
            font-size: 11px;
            color: #999;
            text-align: right;
            margin-top: 3px;
        }
        
        #chat-input-area {
            padding: 15px;
            background-color: white;
            border-top: 1px solid #e0e0e0;
        }
        
        #message-input {
            width: 100%;
            min-height: 60px;
            max-height: 150px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            outline: none;
            resize: none;
            font-family: inherit;
            padding: 12px 15px;
            font-size: 14px;
            transition: border-color 0.3s;
        }
        
        #message-input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(18, 183, 245, 0.2);
        }
        .sendBtn{
        	
        }
        .chat-toolbar {
            display: flex;
            align-items: center;
            padding-top: 10px;
        }
        
        .chat-tool {
            color: #666;
            margin-right: 15px;
            cursor: pointer;
            font-size: 20px;
        }
        
        .chat-tool:hover {
            color: var(--primary-color);
        }
        
        /* 动态页面 */
        #moment-page {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: white;
            padding: 20px;
            overflow-y: auto;
            transform: translateX(100%);
            transition: transform 0.3s ease;
            z-index: 7;
        }
        
        #moment-page.show {
            transform: translateX(0);
        }
        
/*        .moment-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .moment-title {
            font-size: 20px;
            font-weight: bold;
            flex: 1;
        }
        
        .moment-item {
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .moment-user {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .moment-content {
            margin-bottom: 10px;
            line-height: 1.6;
        }
        
        .moment-images {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 5px;
            margin-bottom: 10px;
        }
        
        .moment-image {
            width: 100%;
            padding-top: 100%;
            background-size: cover;
            background-position: center;
            border-radius: 4px;
        }
        
        .moment-actions {
            display: flex;
            color: #666;
        }
        
        .moment-action {
            margin-right: 20px;
            cursor: pointer;
        }
        
        .moment-action:hover {
            color: var(--primary-color);
        }*/
        
        /* 钱包页面 */
        #wallet-page {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: white;
            padding: 20px;
            overflow-y: auto;
            transform: translateX(100%);
            transition: transform 0.3s ease;
            z-index: 7;
        }
        
        #wallet-page.show {
            transform: translateX(0);
        }
        
        .wallet-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .wallet-title {
            font-size: 20px;
            font-weight: bold;
            flex: 1;
        }
        
        .wallet-card {
            background: linear-gradient(135deg, #12B7F5, #1289F5);
            color: white;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 4px 12px rgba(18, 183, 245, 0.3);
        }
        
        .wallet-balance {
            font-size: 12px;
            margin-bottom: 10px;
        }
        
        .wallet-amount {
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 20px;
        }
        
        .wallet-actions {
            display: flex;
            justify-content: space-between;
        }
        
        .wallet-action {
            text-align: center;
            cursor: pointer;
        }
        
        .wallet-action i {
            display: block;
            font-size: 24px;
            margin-bottom: 5px;
        }
        
        .wallet-section {
            margin-bottom: 20px;
        }
        
        .wallet-section-title {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 15px;
        }
        
        .wallet-features {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
        }
        
        .wallet-feature {
            text-align: center;
            cursor: pointer;
        }
        
        .wallet-feature i {
            width: 50px;
            height: 50px;
            background-color: #f5f5f5;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: var(--primary-color);
            margin: 0 auto 8px;
        }
        
        .wallet-feature-name {
            font-size: 12px;
        }
        
        /* 全屏按钮 */
        #fullscreen-btn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            z-index: 100;
            transition: all 0.3s;
        }
        
        #fullscreen-btn:hover {
            transform: scale(1.1);
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            #chat-container {
                width: 100%;
            }
            
            #moment-page, #wallet-page {
                width: 100%;
            }
        }

        /*动态*/
        /* 基础样式与变量 */
:root {
    --primary-color: #12B7F5;
    --primary-dark: #0D9CDB;
    --secondary-color: #FF9500;
    --vip-color: #FFC107;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --border-color: #EBEDF0;
    --bg-color: #F5F6F7;
    --card-bg: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background-color: #F0F2F5;
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: #E4E6EB;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-vip {
    background-color: var(--vip-color);
    color: #7A4F01;
}

.btn-vip:hover {
    background-color: #FFB700;
}

/* 顶部导航栏 */
.top-nav {
    background-color: #2E2E2E;
    color: white;
    height: 56px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.top-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    margin-right: 30px;
}

.logo i {
    margin-right: 8px;
    font-size: 24px;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    height: 100%;
    flex: 1;
}

.nav-menu li {
    display: flex;
    align-items: center;
    position: relative;
    margin-right: 2px;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 100%;
    color: #D8D8D8;
    transition: var(--transition);
    font-size: 14px;
}

.nav-menu li a i {
    margin-right: 8px;
    font-size: 18px;
}

.nav-menu li.active a, .nav-menu li:hover a {
    color: white;
}

.nav-menu li.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

.user-info {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    margin-left: 15px;
}

.user-info:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.notification {
    position: relative;
    margin-right: 15px;
    font-size: 18px;
    color: #D8D8D8;
    transition: var(--transition);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.notification:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.notification::after {
    content: attr(data-count);
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #FF3B30;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.user-avatar {
    position: relative;
    margin-right: 8px;
}

.user-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: #4CD964;
    border-radius: 50%;
    border: 2px solid #2E2E2E;
}

.username {
    font-size: 14px;
    margin-right: 8px;
    font-weight: 500;
}

.user-info i {
    font-size: 12px;
    transition: var(--transition);
}

.user-info:hover i {
    transform: rotate(180deg);
}

/* 主体内容 */
.main-content {
    display: flex;
    margin-top: 56px;
    padding: 20px 0;
}

.left-sidebar {
    width: 240px;
    margin-right: 20px;
    flex-shrink: 0;
}

.content-area {
    flex: 1;
    min-width: 0;
}

.right-sidebar {
    width: 280px;
    margin-left: 20px;
    flex-shrink: 0;
}

/* 卡片样式 */
.profile-card, .sidebar-module, .post-box, .feed-item {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 20px;
    transition: var(--transition);
}

.profile-card:hover, .sidebar-module:hover, .post-box:hover, .feed-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* 个人资料卡片 */
.profile-card {
    position: relative;
}

.profile-bg {
    height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
}

.profile-info {
    padding: 20px;
    text-align: center;
    position: relative;
}

.avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid white;
    margin: -50px auto 0;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.status-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid white;
}

.status-badge.online {
    background-color: #4CD964;
}

.status-badge.offline {
    background-color: #D8D8D8;
}

.profile-info h3 {
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 18px;
}

.profile-desc {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.4;
}

.stats {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-bottom: 15px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.number {
    display: block;
    font-weight: bold;
    color: var(--text-color);
    font-size: 16px;
    margin-bottom: 4px;
}

.label {
    font-size: 12px;
    color: var(--text-lighter);
}

.profile-actions {
    padding: 0 20px 20px;
    display: flex;
    gap: 10px;
}

.btn-edit {
    flex: 1;
}

.btn-vip {
    flex: 1;
}

/* 侧边栏模块 */
.sidebar-module {
    padding: 15px;
}

.module-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.module-header i {
    font-size: 16px;
    color: var(--text-light);
    margin-right: 8px;
}

.module-header h3 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    flex: 1;
}

.view-all {
    font-size: 12px;
    color: var(--text-lighter);
    transition: var(--transition);
}

.view-all:hover {
    color: var(--primary-color);
}

/* 最近访客 */
.visitors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.visitor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.visitor-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 6px;
    object-fit: cover;
    transition: var(--transition);
}

.visitor-item:hover img {
    transform: scale(1.1);
}

.visitor-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.visitor-item:hover::after {
    opacity: 1;
    bottom: -30px;
}

/* 发表动态 */
.post-box {
    padding: 15px;
}

.post-header {
    display: flex;
    margin-bottom: 15px;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.post-box textarea {
    width: 100%;
    min-height: 80px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    resize: none;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    line-height: 1.5;
}

.post-box textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(18, 183, 245, 0.2);
}

.post-box textarea::placeholder {
    color: var(--text-lighter);
}

.post-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tools {
    display: flex;
    gap: 4px;
}

.tool-btn {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
}

.tool-btn:hover {
    color: var(--primary-color);
    background-color: rgba(18, 183, 245, 0.1);
}

.tool-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.tool-btn:hover::after {
    opacity: 1;
    bottom: -40px;
}

.post-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px 20px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.post-btn i {
    font-size: 14px;
}

/* 动态列表 */
.feed-list {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.feed-item {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-header {
    display: flex;
    margin-bottom: 12px;
    position: relative;
}

.feed-avatar-container {
    position: relative;
    margin-right: 12px;
    flex-shrink: 0;
}

.feed-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.feed-user {
    flex: 1;
    min-width: 0;
}

.feed-user h4 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.feed-meta {
    font-size: 13px;
    font-weight: normal;
    color: var(--text-light);
    margin-left: 6px;
}

.time {
    font-size: 12px;
    color: var(--text-lighter);
    display: flex;
    align-items: center;
}

.time i {
    margin-left: 6px;
    font-size: 10px;
    color: var(--text-lighter);
}

.feed-actions {
    display: flex;
    align-items: center;
}

.feed-more {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    color: var(--text-lighter);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feed-more:hover {
    color: var(--text-color);
    background-color: rgba(0, 0, 0, 0.05);
}

.feed-content {
    margin-left: 52px;
    margin-bottom: 12px;
}

.feed-content p {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.5;
    word-break: break-word;
}

.feed-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 12px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.feed-images img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    transition: var(--transition);
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.feed-images img:hover {
    opacity: 0.9;
}

.feed-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.tag {
    font-size: 12px;
    color: var(--primary-color);
    background-color: rgba(18, 183, 245, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    transition: var(--transition);
}

.tag:hover {
    background-color: rgba(18, 183, 245, 0.2);
}

.shared-link {
    display: flex;
    margin-top: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.shared-link:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.link-image {
    width: 80px;
    flex-shrink: 0;
}

.link-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.link-info {
    padding: 12px;
    flex: 1;
}

.link-info h5 {
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--text-color);
    font-weight: 500;
}

.link-info p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.link-domain {
    font-size: 11px;
    color: var(--primary-color);
    display: block;
    margin-top: 4px;
}

.feed-footer {
    margin-left: 52px;
}

.feed-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-top: 1px solid var(--border-color);
    margin-bottom: 8px;
}

.likes-count {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
}

.likes-count i {
    color: var(--primary-color);
    margin-right: 4px;
    font-size: 14px;
}

.comments-count {
    font-size: 13px;
    color: var(--text-light);
}

.feed-buttons{
    display: flex;
    gap: 8px;
}

.like-btn, .comment-btn, .share-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 0;
    border-radius: var(--radius-sm);
}

.like-btn:hover, .comment-btn:hover, .share-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.like-btn.liked {
    color: var(--primary-color);
}

.like-btn.liked i {
    font-weight: 900;
}

/* 最近动态 */
.activity-list li {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    transition: var(--transition);
}

.activity-list li:last-child {
    border-bottom: none;
}

.activity-list li:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.activity-list li img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-content p {
    font-size: 13px;
    margin-bottom: 3px;
    line-height: 1.4;
}

.activity-highlight {
    color: var(--primary-color);
}

.activity-time {
    font-size: 11px;
    color: var(--text-lighter);
}

/* 好友推荐 */
.friend-recommend {
    display: grid;
    gap: 12px;
}

/* .friend-item {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
} */

.friend-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.friend-info {
    flex: 1;
    min-width: 0;
}

.friend-info h5 {
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: 500;
}

.mutual-friends {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.mutual-friends i {
    font-size: 12px;
    color: var(--text-lighter);
}

.friend-actions {
    display: flex;
    gap: 6px;
}

/* 浮动按钮 */
.floating-actions {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 999;
}

.fab-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: white;
    border: none;
    box-shadow: var(--shadow-md);
    color: var(--text-light);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fab-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

.fab-btn.primary {
    background-color: var(--primary-color);
    color: white;
}

.fab-btn.primary:hover {
    background-color: var(--primary-dark);
}

.fab-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    white-space: nowrap;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.fab-btn:hover::after {
    opacity: 1;
    right: 65px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .right-sidebar {
        display: none;
    }
    
    .left-sidebar {
        width: 200px;
    }
}

@media (max-width: 992px) {
    .left-sidebar {
        display: none;
    }
    
    .content-area {
        margin: 0 auto;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .nav-menu li a span {
        display: none;
    }
    
    .nav-menu li a i {
        margin-right: 0;
        font-size: 20px;
    }
    
    .username {
        display: none;
    }
    
    .user-info i {
        display: none;
    }
    
    .notification {
        margin-right: 0;
    }
    
    .floating-actions {
        right: 15px;
        bottom: 15px;
    }
    
    .back-to-top {
        right: 15px;
        bottom: 80px;
    }
}

/* 工具提示 */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

[data-tooltip]:hover::after {
    opacity: 1;
    bottom: -35px;
}

#headclickfct{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    padding: 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 7;
}
#headclickfct.show {
            transform: translateX(0);
        }